
<!DOCTYPE html>
<html lang="zh">
<head>
<title>联系我们</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/>
<meta http-equiv="Cache-Control" content="no-transform" /> 
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="applicable-device" content="pc,mobile">
<link href="__PUBLIC__/css/style_wap.css" rel="stylesheet">
</head>
<body id="aboutpage">
	<include file="Public/header"/>
	<div class="banner"><img src="__PUBLIC__/images/contact.jpg" width="100%" ></div>
	<div class="block cbox">
		<div class="menulist">
			<div class="top">联系我们</div>
		</div>
		<div class="map" id="allmap">
			
		</div>
		<div class="contacttel">
			<img src="__PUBLIC__/images/24h.jpg" />
			<h2>{$webInfo['company_phone']}</h2>
			<ul>
				<li>官网：{$webInfo['web_domain']}</li>
				<li><a style="color:#9b9b9b;" href="mailto:{$webInfo['company_email']}">电邮：{$webInfo['company_email']}</a></li>
				<li>地址：{$webInfo['company_address']}</li>
			</ul>
		</div>
		<div class="clear"></div>
	</div>
	<script src="__PUBLIC__/js/jquery-2.1.4.min.js"></script>
	<script src="__PUBLIC__/js/jquery.cookie.js"></script>
	<include file="Public/footer"/>
	<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=QUsRvUNDDXMEXdESip0W0w2j"></script>	
<script type="text/javascript" src="http://api.map.baidu.com/library/SearchInfoWindow/1.5/src/SearchInfoWindow_min.js"></script>
<link rel="stylesheet" href="http://api.map.baidu.com/library/SearchInfoWindow/1.5/src/SearchInfoWindow_min.css" />
<script type="text/javascript">
 				// 百度地图API功能
 				var map = new BMap.Map('allmap');
 				var poi = new BMap.Point('{$webInfo["company_lng"]}','{$webInfo["company_lat"]}');
 				map.centerAndZoom(poi, 16);
 				map.enableScrollWheelZoom();
 			
 				  var content = '<div style="margin:0;line-height:20px;padding:2px;">' +  '地址：{$webInfo["company_address"]}<br/>总机： {$webInfo["company_phone"]}' + '</div>';
 			
 				//创建检索信息窗口对象
 				var searchInfoWindow = null;
 				searchInfoWindow = new BMapLib.SearchInfoWindow(map, content, {
 						title  : "{$webInfo['company_name']}",      //标题
 						width  : 200,             //宽度
 						height : 80,              //高度
 						panel  : "panel",         //检索结果面板
 						enableAutoPan : true,     //自动平移
 						searchTypes   :[
 							BMAPLIB_TAB_SEARCH,   //周边检索
 							BMAPLIB_TAB_TO_HERE,  //到这里去
 							BMAPLIB_TAB_FROM_HERE //从这里出发
 						]
 					});
 				var marker = new BMap.Marker(poi); //创建marker对象
 				marker.enableDragging(); //marker可拖拽
 				marker.addEventListener("click", function(e){
 					searchInfoWindow.open(marker);
 				});
 				map.addOverlay(marker); //在地图中添加marker
 			</script>
</body>
</html>